﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" x:Class="SinaFinance.SummaryInfoLibrary.StockBasicInfo"
    mc:Ignorable="d">
    <UserControl.Resources>
        <Storyboard x:Name="Storyboard1">
            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="txtStockName" Storyboard.TargetProperty="(UIElement.Opacity)">
                <EasingDoubleKeyFrame KeyTime="00:00:00.7000000" Value="0.5"/>
                <EasingDoubleKeyFrame KeyTime="00:00:01.5000000" Value="1"/>
            </DoubleAnimationUsingKeyFrames>
        </Storyboard>
        <Storyboard x:Name="TradeStory">
        	<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="txtTrade" Storyboard.TargetProperty="(TextBlock.Foreground).(SolidColorBrush.Color)">
        		<EasingColorKeyFrame KeyTime="00:00:00.4000000" Value="Black"/>
        		<EasingColorKeyFrame KeyTime="00:00:00.6000000" x:Name="SpliColor1" Value="#FFBDBDBD"/>
        		<EasingColorKeyFrame KeyTime="00:00:00.8000000" Value="Black"/>
        		<EasingColorKeyFrame KeyTime="00:00:01.2000000" x:Name="SpliColor2" Value="#FFBDBDBD"/>
        	</ColorAnimationUsingKeyFrames>
        	<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="txtTrade" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
        		<EasingDoubleKeyFrame KeyTime="00:00:00.4000000" Value="1.181"/>
        		<EasingDoubleKeyFrame KeyTime="00:00:00.6000000" Value="1"/>
        		<EasingDoubleKeyFrame KeyTime="00:00:00.8000000" Value="0.898"/>
        		<EasingDoubleKeyFrame KeyTime="00:00:01.2000000" Value="1"/>
        	</DoubleAnimationUsingKeyFrames>
        	<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="txtTrade" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
        		<EasingDoubleKeyFrame KeyTime="00:00:00.4000000" Value="1.181"/>
        		<EasingDoubleKeyFrame KeyTime="00:00:00.6000000" Value="1"/>
        		<EasingDoubleKeyFrame KeyTime="00:00:00.8000000" Value="0.898"/>
        		<EasingDoubleKeyFrame KeyTime="00:00:01.2000000" Value="1"/>
        	</DoubleAnimationUsingKeyFrames>
        	<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="txtTrade" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
        		<EasingDoubleKeyFrame KeyTime="00:00:00.4000000" Value="-7.971"/>
        		<EasingDoubleKeyFrame KeyTime="00:00:00.6000000" Value="0"/>
        		<EasingDoubleKeyFrame KeyTime="00:00:00.8000000" Value="4.494"/>
        		<EasingDoubleKeyFrame KeyTime="00:00:01.2000000" Value="0"/>
        	</DoubleAnimationUsingKeyFrames>
        	<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="txtTrade" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)">
        		<EasingDoubleKeyFrame KeyTime="00:00:00.4000000" Value="-2.717"/>
        		<EasingDoubleKeyFrame KeyTime="00:00:00.6000000" Value="0"/>
        		<EasingDoubleKeyFrame KeyTime="00:00:00.8000000" Value="1.532"/>
        		<EasingDoubleKeyFrame KeyTime="00:00:01.2000000" Value="0"/>
        	</DoubleAnimationUsingKeyFrames>
        </Storyboard>
    </UserControl.Resources>
    <Grid VerticalAlignment="Top">
        <Canvas HorizontalAlignment="Left" x:Name="LayoutRoot" Margin="0,0,0,0" Width="550.0" Height="100.0">
            <Border x:Name="borderName" Height="37" Width="715" BorderBrush="#FF16335B" BorderThickness="1,1,1,1" Canvas.Top="-8">
                <Border.Background>
                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="#FF000000"/>
                        <GradientStop Color="#FF162230" Offset="1"/>
                    </LinearGradientBrush>
                </Border.Background>
            </Border>
            <Border x:Name="borderDetail" Height="53" Width="715" Canvas.Top="30" Background="#FF162230" BorderBrush="#FF16335B" BorderThickness="1,1,1,1"/>
            <Path x:Name="UP" Stretch="Fill" Height="34.513" Width="21.528" Visibility="Collapsed" UseLayoutRounding="False" Canvas.Left="3.901" Canvas.Top="38.941" Data="M49.756145,38.111927 L49.620892,67.408928 L60.484238,67.408928 L60.431114,38.277905 L67.628723,38.032166 L55.175808,25.897501 L42.914574,37.962887 z" RenderTransformOrigin="0.5,0.5">
            	<Path.Fill>
            		<LinearGradientBrush EndPoint="0.486,0" StartPoint="0.514,1">
            			<GradientStop Color="#FFFF2E10" Offset="0.315"/>
            			<GradientStop Color="Red" Offset="0.651"/>
            			<GradientStop Color="#FF222C31"/>
            		</LinearGradientBrush>
            	</Path.Fill>
            	<Path.RenderTransform>
            		<TransformGroup>
            			<ScaleTransform/>
            			<SkewTransform AngleX="0" AngleY="0"/>
            			<RotateTransform Angle="0"/>
            			<TranslateTransform/>
            		</TransformGroup>
            	</Path.RenderTransform>
            	<Path.Stroke>
            		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
            			<GradientStop Color="#FF413227" Offset="1"/>
            			<GradientStop Color="#FFA55713"/>
            		</LinearGradientBrush>
            	</Path.Stroke>
            </Path>
            <Path x:Name="UP1" Stretch="Fill" Height="29.34" Width="7.42" Visibility="Collapsed" UseLayoutRounding="False" Canvas.Left="7.123" Canvas.Top="42.472" Data="M13.674742,41.679066 L13.623918,70.067154 L7.3285103,63.634407 L10.983909,63.634407 L10.983909,41.694973 z" RenderTransformOrigin="0.5,0.5">
            	<Path.Fill>
            		<LinearGradientBrush EndPoint="0.913,0.069" StartPoint="0.087,0.931">
            			<GradientStop Color="#FFFF8B72" Offset="0.703"/>
            			<GradientStop Color="#7FFFFFFF"/>
            			<GradientStop Color="#0CC9FFBF" Offset="0.987"/>
            		</LinearGradientBrush>
            	</Path.Fill>
            	<Path.RenderTransform>
            		<TransformGroup>
            			<ScaleTransform ScaleY="-1"/>
            			<SkewTransform AngleX="0" AngleY="0"/>
            			<RotateTransform Angle="0"/>
            			<TranslateTransform Y="-0.92099952697753906"/>
            		</TransformGroup>
            	</Path.RenderTransform>
            </Path>
            <Path x:Name="DOWN" Stretch="Fill" Height="34.513" Width="21.528" Visibility="Collapsed" UseLayoutRounding="False" Canvas.Left="3.901" Canvas.Top="38.941" Data="M49.756145,38.111927 L49.620892,67.408928 L60.484238,67.408928 L60.431114,38.277905 L67.628723,38.032166 L55.175808,25.897501 L42.914574,37.962887 z" RenderTransformOrigin="0.5,0.5" >
            	<Path.Stroke>
            		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
            			<GradientStop Color="#FF1F3528" Offset="0.371"/>
            			<GradientStop Color="#FF3F730D"/>
            			<GradientStop Color="#FF345E16" Offset="0.095"/>
            		</LinearGradientBrush>
            	</Path.Stroke>
                <Path.Fill>
                    <LinearGradientBrush EndPoint="0.503,0" StartPoint="0.497,1">
                        <GradientStop Color="#FFC4E234" Offset="0.517"/>
                        <GradientStop Color="#FFE5F27C" Offset="0.823"/>
                        <GradientStop Color="#FF384831" Offset="0.142"/>
                        <GradientStop Color="#FF7D9433" Offset="0.319"/>
                        <GradientStop Color="#FF162230"/>
                    </LinearGradientBrush>
                </Path.Fill>
                <Path.RenderTransform>
                    <TransformGroup>
                        <ScaleTransform ScaleY="-1"/>
                        <SkewTransform/>
                        <RotateTransform/>
                        <TranslateTransform/>
                    </TransformGroup>
                </Path.RenderTransform>
            </Path>
            <Path x:Name="DOWN1" Stretch="Fill" Height="28.419" Width="5.589" Visibility="Collapsed" UseLayoutRounding="False" Canvas.Left="8.954" Canvas.Top="41.215" Data="M13.674742,41.679066 L13.580019,69.17627 L8.8944654,64.487297 L11.597745,64.385368 L11.425205,41.679066 z" >
            	<Path.Fill>
            		<LinearGradientBrush EndPoint="0.913,0.069" StartPoint="0.087,0.931">
            			<GradientStop Color="#FFADCF31" Offset="0.323"/>
            			<GradientStop Color="#FFCDE45A"/>
            			<GradientStop Color="#7F455631" Offset="1"/>
            		</LinearGradientBrush>
            	</Path.Fill>
            </Path>
            <TextBlock x:Name="txtTrade" Foreground="#FFBDBDBD" FontSize="21" Canvas.Top="43" Canvas.Left="26" Height="30" RenderTransformOrigin="0.5,0.5">
            	<TextBlock.RenderTransform>
            		<TransformGroup>
            			<ScaleTransform/>
            			<SkewTransform/>
            			<RotateTransform/>
            			<TranslateTransform/>
            		</TransformGroup>
            	</TextBlock.RenderTransform>
            	<TextBlock.OpacityMask>
            		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
            			<GradientStop Color="Black" Offset="0"/>
            			<GradientStop Color="White" Offset="1"/>
            		</LinearGradientBrush>
            	</TextBlock.OpacityMask>
            </TextBlock>
            <Border x:Name="borderSpan1" Margin="135,32,0,0" Height="50" Width="1" BorderBrush="#FF16335B" BorderThickness="1,1,1,1">
                <Border.Background>
                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="#FF000000"/>
                        <GradientStop Color="#FF162230" Offset="1"/>
                    </LinearGradientBrush>
                </Border.Background>
            </Border>

            <Border x:Name="borderSpan2" Margin="280,32,0,0" Height="50" Width="1" BorderBrush="#FF16335B" BorderThickness="1,1,1,1">
                <Border.Background>
                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="#FF000000"/>
                        <GradientStop Color="#FF162230" Offset="1"/>
                    </LinearGradientBrush>
                </Border.Background>
            </Border>
            <TextBlock x:Name="txtStockName" Margin="10,0,0,0" FontSize="20" OpacityMask="{x:Null}">
            	<TextBlock.Foreground>
            		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
            			<GradientStop Color="#FFECFFFF"/>
            			<GradientStop Color="#FFAEBFC7" Offset="1"/>
            		</LinearGradientBrush>
            	</TextBlock.Foreground>
            </TextBlock>
            <TextBlock x:Name="txtStockCode" Margin="100,5,0,0"  FontSize="12" Canvas.Top="5">
            	<TextBlock.Foreground>
            		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
            			<GradientStop Color="#FFECFFFF"/>
            			<GradientStop Color="#FFAEBFC7" Offset="1"/>
            		</LinearGradientBrush>
            	</TextBlock.Foreground>
            </TextBlock>

            <TextBlock x:Name="txtPriceChange"  Margin="150,20,0,0" FontSize="11" Canvas.Top="16">
            	<TextBlock.Foreground>
            		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
            			<GradientStop Color="#FFECFFFF"/>
            			<GradientStop Color="#FFAEBFC7" Offset="1"/>
            		</LinearGradientBrush>
            	</TextBlock.Foreground>
            </TextBlock>
            <TextBlock x:Name="txtChangePercent"  Margin="215,20,0,0" FontSize="11" Canvas.Top="16">
            	<TextBlock.Foreground>
            		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
            			<GradientStop Color="#FFECFFFF"/>
            			<GradientStop Color="#FFAEBFC7" Offset="1"/>
            		</LinearGradientBrush>
            	</TextBlock.Foreground>
            </TextBlock>
            <TextBlock x:Name="txtSettlement"  Margin="300,20,0,0" FontSize="12" Canvas.Top="16">
            	<TextBlock.Foreground>
            		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
            			<GradientStop Color="#FFECFFFF"/>
            			<GradientStop Color="#FFAEBFC7" Offset="1"/>
            		</LinearGradientBrush>
            	</TextBlock.Foreground>
            </TextBlock>
            <TextBlock x:Name="txtOpen"  Margin="407,20,0,0" FontSize="12" Canvas.Top="16" FontWeight="Normal">
            	<TextBlock.Foreground>
            		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
            			<GradientStop Color="#FFECFFFF"/>
            			<GradientStop Color="#FFAEBFC7" Offset="1"/>
            		</LinearGradientBrush>
            	</TextBlock.Foreground>
            </TextBlock>
            <TextBlock x:Name="txtHigh"  Margin="512,20,0,0" FontSize="12" Canvas.Top="16">
            	<TextBlock.Foreground>
            		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
            			<GradientStop Color="#FFECFFFF"/>
            			<GradientStop Color="#FFAEBFC7" Offset="1"/>
            		</LinearGradientBrush>
            	</TextBlock.Foreground>
            </TextBlock>
            <TextBlock x:Name="txtLow"  Margin="618,20,0,0" FontSize="12" Canvas.Top="16">
            	<TextBlock.Foreground>
            		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
            			<GradientStop Color="#FFECFFFF"/>
            			<GradientStop Color="#FFAEBFC7" Offset="1"/>
            		</LinearGradientBrush>
            	</TextBlock.Foreground>
            </TextBlock>

            <TextBlock x:Name="txtUpdateTime"  Margin="150,40,0,0" FontSize="11" Canvas.Top="19">
            	<TextBlock.Foreground>
            		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
            			<GradientStop Color="#FFECFFFF"/>
            			<GradientStop Color="#FFAEBFC7" Offset="1"/>
            		</LinearGradientBrush>
            	</TextBlock.Foreground>
            </TextBlock>
            <TextBlock x:Name="txtVolumn"  Margin="300,40,0,0" FontSize="12" Canvas.Top="19">
            	<TextBlock.Foreground>
            		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
            			<GradientStop Color="#FFECFFFF"/>
            			<GradientStop Color="#FFAEBFC7" Offset="1"/>
            		</LinearGradientBrush>
            	</TextBlock.Foreground>
            </TextBlock>
            <TextBlock x:Name="txtAmount"  Margin="440,40,0,0" FontSize="12" Canvas.Top="19">
            	<TextBlock.Foreground>
            		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
            			<GradientStop Color="#FFECFFFF"/>
            			<GradientStop Color="#FFAEBFC7" Offset="1"/>
            		</LinearGradientBrush>
            	</TextBlock.Foreground>
            </TextBlock>
            <TextBlock x:Name="txtSwingPercent"  Margin="570,40,0,0" FontSize="12" Canvas.Top="19">
            	<TextBlock.Foreground>
            		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
            			<GradientStop Color="#FFECFFFF"/>
            			<GradientStop Color="#FFAEBFC7" Offset="1"/>
            		</LinearGradientBrush>
            	</TextBlock.Foreground>
            </TextBlock>
          
        </Canvas>
    </Grid>
</UserControl>
